package cn.com.self.apis.portal.entity;

import cn.com.selfsoft.smartcity.commons.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * @Description
 */
@TableName("t_massage")
@Data
public class MassageEntity extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    private String mscontent;
    private String msuserid;
    private String msusername;
    private String lvmsuserid;
    private String lvmsusername;

    //留言时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createdata;
}
